﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BattleCore;
using BattleCore.Events;
using PsyModules;

namespace Battle
{
    public class MeterMaid
    {
        ShortChat msg = new ShortChat();

        private PrizeState ParkingToys = new PrizeState();
        public void SetParkingToys()
        {
            ParkingToys.Rockets = 3;
            ParkingToys.Decoys = 3;
            ParkingToys.Bursts = 3;
            ParkingToys.Repels = 3;
        }

        public Queue<EventArgs> ParkingEntrance(PlayerPositionEvent p, Queue<EventArgs> q)
        {
            PrizeControl prize = new PrizeControl();

            q.Enqueue(msg.pm(p.PlayerName, "*shipreset"));
            q = prize.LoadPrizeState(p.PlayerName, ParkingToys, q);
            q.Enqueue(msg.pm(p.PlayerName,"*prize #8"));
            q.Enqueue(msg.pm(p.PlayerName, "*prize #9"));
            q.Enqueue(msg.pm(p.PlayerName, "*prize #16"));
            q.Enqueue(msg.warp(p.PlayerName,296,777));

            return q;
        }
        public void ParkinExit(PlayerPositionEvent p, Queue<EventArgs> q)
        {
            PrizeControl prize = new PrizeControl();

            q.Enqueue(msg.pm(p.PlayerName, "*prize #7"));
            q.Enqueue(msg.pm(p.PlayerName, "*shipreset"));
        }
    }
}
